/**
 * @Author:高志斐
 * @Date:2020/6/30
 * @Description:这是首页排行榜前三的组合
 */
import React,{Component} from "react";
import {Badge, Card, Carousel, Grid, List} from "antd-mobile";
import icon1 from "../../../access/images/recommand.png";
import icon3 from "../../../access/images/ranking.png";
import icon2 from "../../../access/images/bestchoice.png";

export default class TopBest extends Component{
    constructor(props) {
        super(props);
        this.state={
            disabled: false,
            list:[],//json表名
            isShow:false
        }
    }
    render() {
        return (
            <div>
                <Card>

                    <Card.Body style={{height:"80px"}}>
                        <Grid  data={[
                            {icon: icon1, text: `推荐组合`},
                            {icon: icon3, text: `排行榜`},
                            {icon: icon2, text: `产品优选`},
                        ]} columnNum={3}  itemStyle={{height:"8rem",border:0}}/>
                    </Card.Body>

                </Card>
            </div>
        );
    }
}
